<?php

/**
 * Picture filter form.
 *
 * @package    wills
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class BackendMessageFormFilter extends BaseMessageFormFilter
{
  public function configure()
  {
	$this->widgetSchema['contestant_id']    = new sfWidgetFormFilterInput(array('with_empty' => false));

	$this->validatorSchema['contestant_id']   = new sfValidatorPass();
  }
  public function getFields()
  {
    return array(
      'id'            => 'Number',
      'contestant_id' => 'Number',
      'name'          => 'Text',
      'emailorqq'     => 'Text',
      'message'       => 'Text',
      'created_at'    => 'Date',
      'updated_at'    => 'Date',
    );
  }
}
